package com.sys.entity;


import java.time.LocalDate;

public class LiveCommerce {
    private Long id;  //直播带货编号

    private String streamer; //主播姓名

    private String livePlatform;  //直播平台

    private String product;  //带货商品

    private LocalDate liveTime;  //直播时间

    private double price;  //商品价格

    private int status;   //直播状态  0.取消直播  1.正常直播

    public LiveCommerce() {
    }

    public LiveCommerce(Long id, String streamer, String livePlatform, String product, LocalDate liveTime, double price, int status) {
        this.id = id;
        this.streamer = streamer;
        this.livePlatform = livePlatform;
        this.product = product;
        this.liveTime = liveTime;
        this.price = price;
        this.status = status;
    }

    /**
     * 获取
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return streamer
     */
    public String getStreamer() {
        return streamer;
    }

    /**
     * 设置
     * @param streamer
     */
    public void setStreamer(String streamer) {
        this.streamer = streamer;
    }

    /**
     * 获取
     * @return livePlatform
     */
    public String getLivePlatform() {
        return livePlatform;
    }

    /**
     * 设置
     * @param livePlatform
     */
    public void setLivePlatform(String livePlatform) {
        this.livePlatform = livePlatform;
    }

    /**
     * 获取
     * @return product
     */
    public String getProduct() {
        return product;
    }

    /**
     * 设置
     * @param product
     */
    public void setProduct(String product) {
        this.product = product;
    }

    /**
     * 获取
     * @return liveTime
     */
    public LocalDate getLiveTime() {
        return liveTime;
    }

    /**
     * 设置
     * @param liveTime
     */
    public void setLiveTime(LocalDate liveTime) {
        this.liveTime = liveTime;
    }

    /**
     * 获取
     * @return price
     */
    public double getPrice() {
        return price;
    }

    /**
     * 设置
     * @param price
     */
    public void setPrice(double price) {
        this.price = price;
    }

    /**
     * 获取
     * @return status
     */
    public int getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(int status) {
        this.status = status;
    }

    public String toString() {
        return "LiveCommerce{id = " + id + ", streamer = " + streamer + ", livePlatform = " + livePlatform + ", product = " + product + ", liveTime = " + liveTime + ", price = " + price + ", status = " + status + "}";
    }
}
